package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TbRoomReservation;

/**
 * 预约房源Service接口
 * 
 * @author ruoyi
 * @date 2021-06-21
 */
public interface ITbRoomReservationService 
{
    /**
     * 查询预约房源
     * 
     * @param id 预约房源ID
     * @return 预约房源
     */
    public TbRoomReservation selectTbRoomReservationById(String id);

    /**
     * 查询预约房源列表
     * 
     * @param tbRoomReservation 预约房源
     * @return 预约房源集合
     */
    public List<TbRoomReservation> selectTbRoomReservationList(TbRoomReservation tbRoomReservation);

    /**
     * 新增预约房源
     * 
     * @param tbRoomReservation 预约房源
     * @return 结果
     */
    public int insertTbRoomReservation(TbRoomReservation tbRoomReservation);

    /**
     * 修改预约房源
     * 
     * @param tbRoomReservation 预约房源
     * @return 结果
     */
    public int updateTbRoomReservation(TbRoomReservation tbRoomReservation);

    /**
     * 批量删除预约房源
     * 
     * @param ids 需要删除的预约房源ID
     * @return 结果
     */
    public int deleteTbRoomReservationByIds(String[] ids);

    /**
     * 删除预约房源信息
     * 
     * @param id 预约房源ID
     * @return 结果
     */
    public int deleteTbRoomReservationById(String id);

    boolean addyuyue(TbRoomReservation roomReservation);

//    List<TbRoomReservation> selyuyue(Integer id);
}
